package com.hula.onion.book.server.spider.platforms.wangcai51;

import org.springframework.stereotype.Component;

/**
 * Description:
 * Create Date:2018/1/18 14:18
 *
 * @author shan
 * @version 1.0
 */
@Component
public class WangCai51ResponseEntity<T> {

    /**
     * 信息
     */
    private String data;

    /**
     * 返回码
     */
    private String status;

    /**
     * 是否成功标识
     */
    private String result;

    /**
     * 成功时存储的数据
     */
    private T content;

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public T getContent() {
        return content;
    }

    public void setContent(T content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "WangCai51ResponseEntity{" +
                "data='" + data + '\'' +
                ", status='" + status + '\'' +
                ", result='" + result + '\'' +
                ", content=" + content +
                '}';
    }
}